Vcenter NamespaceManagement InfrastructurePolicies MatchSpec

Vcenter NamespaceManagement InfrastructurePolicies MatchSpec
Vcenter NamespaceManagement InfrastructurePolicies MatchSpec

The Vcenter NamespaceManagement InfrastructurePolicies MatchSpec schema defines comprehensive matching criteria for policies.

This schema was added in vSphere API 9.1.0.0.

JSON Example
{
    "op": "string",
    "match": [
        "Vcenter NamespaceManagement InfrastructurePolicies MatchSpec Object"
    ],
    "workload": {
        "guest": {
            "guest_id": {
                "op": "string",
                "value": "string"
            },
            "guest_family": {
                "op": "string",
                "value": "string"
            }
        },
        "labels": [
            {
                "key": "string",
                "operator": "string",
                "values": [
                    "string"
                ]
            }
        ],
        "kind": "string"
    }
}
string
op
Optional

Describes the boolean operation used to evaluate the elements from the match field. This field does not apply to the workload field. It is always boolean AND'd together with the results of the match field.

For more information see: Vcenter NamespaceManagement InfrastructurePolicies BooleanOperation.

This property was added in vSphere API 9.1.0.0.

If missing or null, defaults to AND.

match
Optional

Describes additional matchers that are evaluated using the boolean operation described by the op field.

This property was added in vSphere API 9.1.0.0.

If missing or null, no additional matching is performed.

workload
Optional

Matches information about the workload.

This property was added in vSphere API 9.1.0.0.

If missing or null, no workload matching is performed.